package com.xd.core.company.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 代理公司审核信息
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AgencyCompanyCheck对象", description="代理公司审核信息")
public class AgencyCompanyCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "审核ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "资管企业ID")
    private Integer capitalId;

    @ApiModelProperty(value = "审核人员ID")
    private Integer checkUserId;

    @ApiModelProperty(value = "提交审核人员ID")
    private Integer createBy;

    @ApiModelProperty(value = "审核状态（1-审核中，2-审核通过，3-审核不通过）")
    private String checkStatus;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "提交时间")
    private Date createTime;

    @ApiModelProperty(value = "审核意见")
    private String checkOpinion;

    @ApiModelProperty(value = "代理企业登陆手机")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "企业LOGO地址")
    private String companyLogo;

    @ApiModelProperty(value = "公司介绍")
    private String companyIntroduction;

    @ApiModelProperty(value = "公司规模")
    private String scaleOfCompany;

    @ApiModelProperty(value = "联系电话")
    private String companyPhone;

    @ApiModelProperty(value = "业务范围")
    private String businessType;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "商务经理id")
    private Integer businessManager;

    @ApiModelProperty(value = "商务经理名称")
    @TableField(exist = false)
    private String userName;

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "企业类型")
    private String typeOfEnterprise;

    @ApiModelProperty(value = "统一社会信用代码")
    private String unifiedSocialCreditCode;

    @ApiModelProperty(value = "企业住所")
    private String locationOfEnterprise;

    @ApiModelProperty(value = "法定代表人")
    private String legalEntityName;

    @ApiModelProperty(value = "注册资本")
    private String registeredCapital;

    @ApiModelProperty(value = "营业执照地址")
    private String license;

    @ApiModelProperty(value = "法定代表人身份证地址")
    private String corporateIdCardUrl;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "省份")
    private Integer province;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "地市")
    private Integer city;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "区县")
    private Integer county;

    @ApiModelProperty(value = "营业执照有效期开始")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date businessLicenseStartExpired;

    @ApiModelProperty(value = "营业执照有效期结束")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date businessLicenseExpired;

}
